<?php
	header("Content-Type: text/html;charset=utf-8");
	include("../_judge.php");
	include("../../function/function.php");
	
	$id = chkstr(trim($_REQUEST['id']));
	if(!is_numeric($id)){
		echo erro("ID错误");
	}
	
	$news_sql = "select * from kboy_lingdui where lid=$id";
	$news_rows = mysql_query($news_sql);
	$news_nums = mysql_num_rows($news_rows);
	if($news_nums > 0){
		$news_rs = mysql_fetch_array($news_rows);
		$lid = $news_rs['lid'];
		$lname = $news_rs['lname'];
		$lnick = $news_rs['lnick'];
		$lage = $news_rs['lage'];
		$lsex = $news_rs['lsex'];
		$ljigu = $news_rs['ljigu'];
		$lminzu = $news_rs['lminzu'];
		$ljian = $news_rs['ljian'];
		$lgong = $news_rs['lgong'];
		$lphon = $news_rs['lphon'];
		$lzhiyuan = $news_rs['lzhiyuan'];
		$lfutime = $news_rs['lfutime'];
		$lshenfen = $news_rs['lshenfen'];
		$zcshi = $news_rs['zcshi'];
		$lyouxiang = $news_rs['lyouxiang'];
	}else{
		echo erro("该信息已经被删除或不存在");
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $adminweb_titles ?></title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script>if (top.location != parent.location||self.location==top.location){top.location.replace('../login/admin.php')}</script>
</head>

<body>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999">
    <tr>
      <td align="right" bgcolor="#EFEFEF">姓名：</td>
      <td bgcolor="#EFEFEF"><?=$lname?></td>
      <td align="right" bgcolor="#EFEFEF">注册时间：</td>
      <td bgcolor="#EFEFEF"><?=$zcshi?></td>
    </tr>
    <tr>
      <td width="100" align="right" bgcolor="#EFEFEF">身份：</td>
      <td bgcolor="#EFEFEF">
	  	自愿者
	  </td>
      <td width="100" align="right" bgcolor="#EFEFEF">CVA：</td>
      <td bgcolor="#EFEFEF">
	  	<?php
				if($user_style == 1){
					echo "CVA";
				}else{
					echo "无";
				}
		?>
	  </td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">Email：</td>
      <td bgcolor="#EFEFEF"><?=$lyouxiang?></td>
      <td align="right" bgcolor="#EFEFEF">手机号：</td>
      <td bgcolor="#EFEFEF"><?=$lphon?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">性别：</td>
      <td bgcolor="#EFEFEF">
	  <?php
	  		if($lsex == 1){
				echo "男";
			}elseif($user_sex == 2){
				echo "女";
			}else{
				echo "保密";
			}
	  ?>
	  </td>
      <td align="right" bgcolor="#EFEFEF">昵称：</td>
      <td bgcolor="#EFEFEF"><?=$lnick?></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EFEFEF">服务经历：</td>
      <td bgcolor="#EFEFEF" colspan="3"><?=$lzhiyuan?></td>
    </tr>
</table>
</body>
</html>
